package com.jiangzhuojun.mapper;

import com.jiangzhuojun.pojo.Stockout;
import com.jiangzhuojun.pojo.StockoutExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockoutMapper {
    long countByExample(StockoutExample example);

    int deleteByExample(StockoutExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Stockout record);

    int insertSelective(Stockout record);

    List<Stockout> selectByExample(StockoutExample example);

    Stockout selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Stockout record, @Param("example") StockoutExample example);

    int updateByExample(@Param("record") Stockout record, @Param("example") StockoutExample example);

    int updateByPrimaryKeySelective(Stockout record);

    int updateByPrimaryKey(Stockout record);
}